package cn.yujiago.shiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/page/{directory}/{filename}")
    public String page(@PathVariable("directory") String directory, @PathVariable("filename") String filename){
        return directory + "/" + filename;
    }

}
